package Kurs;

import java.util.Scanner;

public class upr2 {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
			System.out.println("Add a number: ");
		
		int k = 5;
		int n = 10;
			int a = 1;
			int b = 1;
		for (int i = 1; i<=k; i++){
			a=a*i;
		}
		System.out.println(a);
		
		for (int j = 1; j<=n; j++){
			b=b*j;
		}
		System.out.println(b);
		
		int sum = b/a;
		System.out.println(sum);
		
	}

}
